package com.qc.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qc.dao.KetubbahDao;
import com.qc.entity.Ketubbah;
import com.qc.service.KetubbahService;

@Service("ketubbahService")
public class KetubbahServiceImpl implements KetubbahService{

	@Resource(name="ketubbahDao")
	private KetubbahDao ketubbahDao;
	
	@Override
	public int saveKetubbah(Ketubbah ketubbah) {

		return ketubbahDao.saveKetubbah(ketubbah);
	}

	@Override
	public Ketubbah getKetubbah(String userId) {

		return ketubbahDao.getKetubbah(userId);
	}

}
